package cate.common.table.pvp.eliterace.sheet;

import cate.common.table.ESheet;
import cate.common.table.pvp.eliterace.row.EliteRaceRoundRow;

import java.util.Objects;

public class EliteRaceRoundSheet extends ESheet<EliteRaceRoundRow> {
    @Override
    public String getSheetName() {
        return "冠军赛回合";
    }

    public long getPoints(int round) {
        EliteRaceRoundRow row = get(round);
        if (Objects.isNull(row)) {
            return 0L;
        }
        return row.pointAdd;
    }
}
